import request from '@/utils/request'


export function getBannerGroup(bannerGroupVo) {
    return request({
        url: `/cms/banner-group/getBannerGroup`,
        method: 'post',
        data: bannerGroupVo
    })
}

export function deleteBannerGroupsByIds(bannerGroupsIds) {
    return request({
        url: `/cms/banner-group/deleteBannerGroupsByIds`,
        method: 'post',
        data: bannerGroupsIds
    })
}



export function saveOrUpdateGroup(bannerGroup) {
    return request({
        url: `/cms/banner-group/saveOrUpdateGroup`,
        method: 'post',
        data: bannerGroup
    })
}


export function getGroupById(id) {
    return request({
        url: `/cms/banner-group/getGroupById/${id}`,
        method: 'get',
    })
}


export function showGroup(id) {
    return request({
        url: `/cms/banner-group/showGroup/${id}`,
        method: 'post',
    })
}